package com.lwb.demo2.dubbo;

import com.lwb.demo.api.DemoService2;
import com.lwb.demo2.service.Demo2Service;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;


@DubboService(interfaceClass = com.lwb.demo.api.DemoService2.class)
public class Demo2DubboService implements DemoService2 {

    @Resource
    Demo2Service demo2Service;

    @Override
    public String execute(String id) {
        return demo2Service.execute(id);
    }
}
